﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Max.PH4_2102A.Shopping.Domain
{
    /// <summary>
    /// 品牌表
    /// </summary>
    [Table("tb_brand")]
    public class BrandModel:AuditField
    {
        public Guid Id { get; set; }

        /// <summary>
        /// //品牌名称
        /// </summary>
        [Display(Name = "品牌名称")]
        [Required]
        public string Name { get; set; }

        /// <summary>
        /// //品牌LOGO
        /// </summary>
        public string? Logo { get; set; }

        /// <summary>
        /// //品牌介绍
        /// </summary>
        [Display(Name= "品牌介绍")]
        public string? Description { get; set; }
    }

}
